﻿using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmallJob.Model
{
    public class MConversation
    {
        public ObjectId Id { get; set; }
        public String ShortID { get; set; }
        public int Person1ID { get; set; }
        public int Person2ID { get; set; }
        public int Type { get; set; }
        public MMessage Message { set; get; }
        public List<MMessage> Messages { get; set; }
        public MOrder Order { get; set; }
        public MProvide Provide { get; set; }
        public MRequest Request { get; set; }
        public MUser User1 { get; set; }
        public MUser User2 { get; set; }
    }
}
